package net.xdclass.rbac_shiro.controller;

import org.apache.shiro.authz.annotation.Logical;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/api/admin/user")
public class UserController {


    //@RequiresRoles(value={"admin", "editor"}, logical= Logical.OR)
    @RequiresPermissions(value={"user:add", "user:del"}, logical= Logical.OR)
    @RequestMapping("/list_user")
    public Object listUser(){
        return null;
    }

}                                                                                                                                                            